package com.uni.service.impl;

import com.uni.dao.ProdtypeMapper;
import com.uni.pojo.Prodtype;
import com.uni.pojo.ProdtypeExample;
import com.uni.service.ProdtypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @作者: Unirithe
 * @日期: 2022/2/23
 **/
@Service
public class ProdtypeServiceImpl implements ProdtypeService {

    @Autowired
    private ProdtypeMapper prodtypeMapper;
    @Override
    public List<Prodtype> getAll() {
        return prodtypeMapper.selectByExample(new ProdtypeExample());
    }
}
